package Array;

public class myArraysDemo {
	public static void main(String[] args) {
		int[] arr = {2,4,6,7,9};
		int max = myArrays.myMax(arr);
		System.out.println(max);
		System.out.println(myArrays.getIndex(arr, 4));
	}
}
